package Vista;
import javax.swing.JButton;
import javax.swing.JScrollPane;
import javax.swing.JTable;

import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class Calendario extends javax.swing.JFrame {
	private JScrollPane jScrollPane1;
	private JButton btnSalir;
	private JTable tblTablaCalendario;

	/**
	* Auto-generated main method to display this JFrame
	*/
		
	public Calendario() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			this.setTitle("Calendario");
			getContentPane().setLayout(null);
			{
				jScrollPane1 = new JScrollPane();
				getContentPane().add(jScrollPane1);
				jScrollPane1.setBounds(7, 34, 792, 204);
				{
					TableModel tblTablaCalendarioModel = 
						new DefaultTableModel(
								new String[][] { { "One", "Two" }, { "Three", "Four" } },
								new String[] { "Fecha", "Home Club","Visitante","Innings",
										"Carr HC","Carr V", "Marcador Final"});
					tblTablaCalendario = new JTable();
					jScrollPane1.setViewportView(tblTablaCalendario);
					tblTablaCalendario.setModel(tblTablaCalendarioModel);
					tblTablaCalendario.setBounds(28, 60, 754, 32);
				}
			}
			{
				btnSalir = new JButton();
				getContentPane().add(btnSalir);
				btnSalir.setText("Salir");
				btnSalir.setBounds(353, 279, 71, 23);
			}
			pack();
			this.setSize(827, 361);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
